cmake_minimum_required(VERSION 3.10)
project(033ScreenCoor2WorldCoor VERSION 0.1.0)

SET(CMAKE_CXX_STANDARD 11)
SET(CMAKE_CXX_STANDARD_REQUIRED ON)

find_package(OpenSceneGraph 3.6.5 REQUIRED
    osgViewer
    osgGA
    osgDB
    osgUtil
)

include_directories(${OPENSCENEGRAPH_INCLUDE_DIRS})

SET(SRC_LIST
    033ScreenCoor2WorldCoor.cpp
)

add_executable(${PROJECT_NAME} ${SRC_LIST})

target_link_libraries(${PROJECT_NAME}
    ${OPENSCENEGRAPH_LIBRARIES}
)